#pragma once
#include "RobotPart.h"

class Phaser: public RobotPart
{
public:
	Phaser(void);
	void display();
	void switchTexture();
	void createTube();
	float getHeight();
	~Phaser(void);
private:
	void loadImage();

	// texture
	GLuint currentTextureBase;
	GLuint currentTextureCylindre;
	GLuint currentTexturePointe;
	GLuint textureBase1;
	GLuint textureBase2;
	GLuint textureCylindre1;
	GLuint textureCylindre2;
	GLuint texturePointe1;
	GLuint texturePointe2;

	GLfloat heightCubeBaseP;
	GLfloat widthP; 
	GLfloat radiusTorusP;

	GLUquadric* quad;
};

